package org.glickr.api.test

import org.glickr.api.FlickrApiMethod
import groovy.util.slurpersupport.GPathResult

/* ----------------------------------------------------------------------------------------------------
REQUEST: flickr.test.login
INFO: A testing method which checks if the caller is logged in then returns their username.

AUTHENTICATION: This method requires authentication with 'read' permission.

ARGUMENTS:
api_key (Required): Your API application key.

EXAMPLE RESPONSE:
<user id="12037949754@N01">
  <username>Bees</username>
</user>
---------------------------------------------------------------------------------------------------- */

class testLogin implements FlickrApiMethod {
    //
    //  API METHOD
    //
    String apiMethod = 'flickr.test.login'

    //
    //  VALIDATOR
    //

    //
    //  PARAMS
    //

    //
    //  PROCESSOR
    //

    //
    //  ERROR CODES
    //
}